//
//  UserInfoMember.m
//  CFFinanceProject
//
//  Created by chunfeng on 2018/4/13.
//  Copyright © 2018年 xiaowen. All rights reserved.
//

#import "UserInfoMember.h"

@implementation UserInfoMember


/** 登录后用户信息实体
 * 单例
 */
+(instancetype)shareMemberUser{
    
    static UserInfoMember* shareInstance;
    static dispatch_once_t onceToken;
    
    @synchronized(self){
        dispatch_once(&onceToken, ^{
            shareInstance = [[self alloc]init];
            
            shareInstance.isLogin = NO;
            
            shareInstance.userCenterModel = [[LoginModel alloc]init];
            
        });
    }
    
    return shareInstance;
}

@end
